<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2017/3/17
 * Time: 9:49
 */

namespace app\admin\model;


use think\Model;

class RewardLog extends Model
{
    protected $table = 'reward_log';

    //protected $autoWriteTimestamp = true;

    public function reward(){
        return $this->hasOne('Reward','id','reward_id');
    }
}